.dashicons::before {
  content: "✨";
}
body {
  background-color: f1f1f1;
}
/**==============================商城*/
/*颜色*/
//主色
@color-main: #88dba3;
//辅助色
@color-assist: #cff0da;
//点缀色
@color-taim: #3ac569;
//文字色
@color-font: #2c2c2c;

/*最大长度*/
/*圆角弧度*/
@magick-child-fillet: 18px;
/*模态*/
@magick-box-shadow:inset 5px 5px 10px #74ba8b, inset -5px -5px 10px #9cfcbb;
.magick_section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  color: @color-font;
  /*Tab切换*/
  .switch-tab {
    position: relative;
    width: 100%;
    height: 16vh;
    label {
      width: 100px;
      height: 30px;
      float: left;
    }

    label span {
      text-align: center;
      cursor: pointer;
    }

    label .tab-box {
      position: absolute;
      left: 0;
      top: 32px;
      //display: none;
      opacity: 0;
      width: 100%;
      transition: all 0.3s;
    }

    label input {
      width: 0;
    }

    input:checked ~ .tab-box {
      //display: block;
      opacity: 1;
    }

    input:checked + span {
      padding: 6px 8px;
      border-radius: 6px;
      transition: all 0.3s;
      color: #fff;
      background-color: @color-taim;
      box-shadow: 5px 5px 10px #d9d9d9, -5px -5px 10px #ffffff;
    }
  }
  /*商城用布局*/
  .magick_shop_box {
    display: flex;
    /*两端居中对齐,仅包含子元素*/
    justify-content: space-evenly;
    /*垂直居中,仅包含子元素*/
    align-items: center;
    /*换行*/
    flex-wrap: wrap;

    .content {
      flex: 0 0 228px;
    }
  }
  /*描述*/
  .describe {
    float: right;
    font-size: 12px;
    color: #818181;
  }

  /*数据展示模块*/
  .black-data-box-mix {
    padding: 10px 20px;
    margin: 20px 10px;
    color: #2c2c2c;
    border-radius: @magick-child-fillet;
    background-color: @color-main;
    box-shadow: @magick-box-shadow;
    > span {
      font-size: 16px;
      font-weight: bold;
    }
    > .child {
      display: flex;
      justify-content: space-between;
      align-items: center;
      > p > span {
        font-size: 26px;
        font-weight: bold;
      }
      > span {
        font-size: 28px;
        width: 36px;
        height: 36px;
      }
      > img {
        width: 36px;
        height: 36px;
      }
    }
  }

  /*百分比布局*/
  .magick-per {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0px;
    .per-content {
      flex: 1;
    }
  }
}
